home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr53 / pctv4n_1.zip / DBTYPES2.H < prev    next >
Text File  |  1993-06-10  |  810b  |  41 lines

  1. /**************************************************
  2. *
  3. * FILE NAME:  dbtypes.h    TITLE:  XQL/NWSQL types
  4. *
  5. * AUTHOR:       Ken North
  6. *
  7. * SYNOPSIS: data type definitions 
  8. *
  9. **************************************************/
  10.  
  11. #ifndef __DBTYPES_H
  12. #define __DBTYPES_H
  13.  
  14. typedef struct ConnectionInfo
  15. {
  16.     char    userid  [31];
  17.     char    password[9];
  18.     char    dict_path[80];
  19.     char    data_path[80];
  20.     char    reserved[2];
  21. } * CONNECTION;
  22.  
  23. typedef struct ViewInfo
  24. {
  25.     int    BufferLen;
  26.     int    RowLength;
  27.     int    recndx;
  28.     int    RecordLength;
  29.     int    FetchOption;
  30.     int    ColCount;
  31.     int    ASCIIFlag;        /* fetch data format     */
  32.     int    Spacing;        /* fetch display spacing */
  33.                     /* records desired from fetch */
  34.     long ReceiveCount;
  35.                     /* records returned by fetch  */
  36.     long RecordsGotten;
  37. } * VIEWINFO;
  38.  
  39. #endif
  40.  
  41.